home *** CD-ROM | disk | FTP | other *** search
- Path: mars.asiabiz.com.sg!usenet
- From: user@asiabiz.com.sg (User Name)
- Newsgroups: comp.lang.c
- Subject: Driver in C and Assembly : accessing assm label from C
- Date: 11 Apr 1996 06:07:35 GMT
- Organization: Wearnes Thakral
- Message-ID: <4ki7j7$88g@mars.asiabiz.com.sg>
- Reply-To: softw@asiabiz.com.sg , sureener@pacific.net.sg
- NNTP-Posting-Host: 169.42.0.102
- X-Newsreader: WinVN 0.92.6+
-
- Hi,
-
- I am writing a device driver in C and with assembly patches.
- I have a Strategy and Interrupt routine which is defined in the
- Device header.
-
- I have the driver name inside the device header and I do want to get the
- parameters from the command line arg and fill th 8 characters in the
- header.
-
- My main doubt is how to access the data segment from C and fill in with
- the driver name received from the MSCDEX.
-
- And also another problem with the typedef structure.
-
- In Assembly once I define the structure I can get the size of the
- structure using 'size' command. But in C is there any way to do the
- same.
-
- Please mail back!
-
- Regards
- Suresh
-